#include "sparepartentity.h"

SparePartEntity::SparePartEntity()
{
}

void SparePartEntity::setSpId(int _sp_id)
{
    sp_id = _sp_id;
}

int SparePartEntity::getSpId()
{
    return sp_id;
}

void SparePartEntity::setSpCode(QString _sp_code)
{
    sp_code = _sp_code;
}

QString SparePartEntity::getSpCode()
{
    return sp_code;
}

void SparePartEntity::setSpName(QString _sp_name)
{
    sp_name = _sp_name;
}

QString SparePartEntity::getSpName()
{
    return sp_name;
}

void SparePartEntity::setUnitCost(float _unit_cost)
{
    unit_cost = _unit_cost;
}

float SparePartEntity::getUnitCost()
{
    return unit_cost;
}

void SparePartEntity::setMinCost(float _min_cost)
{
    min_cost = _min_cost;
}

float SparePartEntity::getMinCost()
{
    return min_cost;
}

void SparePartEntity::setMaxCost(float _max_cost)
{
    max_cost = _max_cost;
}

float SparePartEntity::getMaxCost()
{
    return max_cost;
}

void SparePartEntity::setDesc(QString _desc)
{
    desc = _desc;
}

QString SparePartEntity::getDesc()
{
    return desc;
}

void SparePartEntity::setDeleted(int _deleted)
{
    deleted = _deleted;
}

int SparePartEntity::getDeleted()
{
    return deleted;
}
